package com.sitech.portal.system.service.impl;

import java.util.HashMap;
import java.util.List;

import com.sitech.ibnms.core.IPage;
import com.sitech.ibnms.core.PageForm;
import com.sitech.portal.system.dao.ISysPanelConfigDao;
import com.sitech.portal.system.service.ISysPanelConfigService;

public class SysPanelConfigServiceImpl implements ISysPanelConfigService {

	private ISysPanelConfigDao sysPanelConfigDao;
	
	public ISysPanelConfigDao getSysPanelConfigDao() {
		return sysPanelConfigDao;
	}

	public void setSysPanelConfigDao(ISysPanelConfigDao sysPanelConfigDao) {
		this.sysPanelConfigDao = sysPanelConfigDao;
	}

	@Override
	public void add(HashMap map) {
		// TODO Auto-generated method stub
		sysPanelConfigDao.add(map);
	}

	@Override
	public void deleteByPKs(String id) {
		// TODO Auto-generated method stub
		sysPanelConfigDao.deleteByPKs(id);
	}

	@Override
	public IPage findListByPK(PageForm pageForm) {
		// TODO Auto-generated method stub
		return sysPanelConfigDao.findListByPK(pageForm);
	}

	@Override
	public HashMap findObjByPK(String id) {
		// TODO Auto-generated method stub
		return sysPanelConfigDao.findObjByPK(id);
	}

	@Override
	public HashMap findObjTB_SYS_PANEL_CONFIGByPanelID(String PANEL_ID) {
		// TODO Auto-generated method stub
		return sysPanelConfigDao.findObjTB_SYS_PANEL_CONFIGByPanelID(PANEL_ID);
	}

	@Override
	public List findSysPanelConfigList() {
		// TODO Auto-generated method stub
		return sysPanelConfigDao.findSysPanelConfigList();
	}

	@Override
	public List findSysPanelConfigListByRole(String portalRole) {
		// TODO Auto-generated method stub
		return sysPanelConfigDao.findSysPanelConfigListByRole(portalRole);
	}

	@Override
	public List loadTodoTaskList(String login_id) {
		// TODO Auto-generated method stub
		return sysPanelConfigDao.loadTodoTaskList(login_id);
	}

	@Override
	public void update(HashMap map) {
		// TODO Auto-generated method stub
		sysPanelConfigDao.update(map);
	}

}
